<?php 
if ($result_new) {
    $r = $result_new[0];
    $url = url($r->calias.'/chi-tiet/'.$r->alias);
    $image = iUrlFileThumb($r->image);
    $title = $r->title;
    $summary = word_limiter($r->summary, 20);
     ?>
<div class="giaitri_b2">
        <h2> Thơ lãng xẹt </h2>
        <div class="top"></div>
        <div class="ct">
              <div class="left_">
            <div class="bignew">
                  <h3> <a href="<?php echo $url ?>" title="<?php echo $title ?>"><?php echo $title ?></a></h3>
                  <div class="img"> 
                  <a href="<?php echo $url ?>" title="<?php echo $title ?>">
                    <img src="<?php echo $image ?>" width="96" height="76" />
                  </a>
                  </div>
                  <?php echo $summary ?> </div>
            <div class="list">
                  <ul>
            <?php 
    unset($result_new[0]);
    foreach ($result_new as $row) {
        $url = url($row->calias.'/chi-tiet/'.$row->alias);
        $image = iUrlFileThumb($row->image);
        $title = $row->title;
     ?>   
                <li> <a href="<?php echo $url ?>"> <?php echo $title ?> </a> </li>
    <?php 
    }
     ?>
              </ul>
                </div>
          </div>
              <div class="right_">
            <div class="title"> HOT NHẤT </div>
            <div class="list">
    <?php 
    foreach ($result_hit as $row) {
        $url = url($row->calias.'/chi-tiet/'.$row->alias);
        $image = iUrlFileThumb($row->image);
        $title = $row->title;
     ?>        
               
        <div class="block"> <a href="<?php echo $url ?>" title="<?php echo $title ?>">
            <img src="<?php echo $image ?>" width="76" height="56" alt="<?php echo $title ?>" title="<?php echo $title ?>" /> </a>
            <a href="<?php echo $url ?>" title="<?php echo $title ?>"><?php echo $title ?></a> 
        </div>
    <?php 
    }
     ?>
                <div class="cls">&nbsp;</div>
                  <p> <a class="" href="<?php echo url($result_hit[0]->calias) ?>" title="Xem thêm"> Xem thêm </a> </p>
                </div>
          </div>
            </div>
        <div class="bottom"></div>
      </div>
<?php 
}
 ?>